import { getVersion } from "../utils/version";
var baseUrl = "/api/static";
export function i_40(uri : String) {
	return baseUrl + "/items/" + getVersion() + "/40/" + uri + ".png";
}
export function i_64(uri : String) {
	return baseUrl + "/items/" + getVersion() + "/64/" + uri + ".png";
}
export function i_128(uri : String) {
	return baseUrl + "/items/" + getVersion() + "/128/" + uri + ".png";
}
export function i_256(uri : String) {
	return baseUrl + "/items/" + getVersion() + "/256/" + uri + ".png";
}
export function image(type : String, size : Number, uri : String) {
	return baseUrl + "/" + type + "/" + getVersion() + "/" + size + "/" + uri;
}
export function b_64(uri : String) {
	return baseUrl + "/buildings/" + getVersion() + "/64/" + uri + ".png";
}
export function b_128(uri : String) {
	return baseUrl + "/buildings/" + getVersion() + "/128/" + uri + ".png";
}
export function b_256(uri : String) {
	return baseUrl + "/buildings/" + getVersion() + "/256/" + uri + ".png";
}